<?php
    class TradeLogConstant {
        public static function getTypeList(){
            $translate = Zend_Registry::get('Zend_Translate');
            $type=array(
                      1 => $translate->_('agentSupplementLog'),
                      2 => $translate->_('adminSupplementLog'),
                      3 => $translate->_('withdrawLog'),
                      4 => $translate->_('otherLog'),

                      11 => $translate->_('selfSaleFreezedLog'),
                      12 => $translate->_('selfSaleKkLog'),
                      13 => $translate->_('selfSaleTkLog'),
                      14 => $translate->_('selfSaleProfitLog'),
                      15 => $translate->_('selfSaleReturnProfitLog'),

                      21 => $translate->_('autoRecvFreezedLog'),
                      22 => $translate->_('autoRecvKkLog'),
                      23 => $translate->_('autoRecvTkLog'),
                      24 => $translate->_('autoRecvProfitLog'),
                      25 => $translate->_('autoRecvReturnProfitLog'),
                      
                      31 => $translate->_('campusOrderFreezedLog'),
                      32 => $translate->_('campusOrderKkLog'),
                      33 => $translate->_('campusOrderTkLog'),
                      34 => $translate->_('campusOrderProfitLog'),
                      35 => $translate->_('campusOrderReturnProfitLog')
                  );
            return $type;
        }

        public static function getType($key){
            $type = TradeLogConstant::getTypeList();
            return $type[$key];
        }
    }
?>
